package org.hxyjs.dao;

import org.hxyjs.entity.Activetyrecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface ActivetyrecordDao {
    public List<Activetyrecord> getActivetyrecordByPage(PageInfo pageInfo) throws Exception;

    public List<Activetyrecord> getAllActivetyrecords() throws Exception;

    public Activetyrecord getActivetyrecordByAfno(String afno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteActivetyrecordByAfno(String afno) throws Exception;

    Integer updateActivetyrecordByAfno(Activetyrecord activetyrecord) throws Exception;

    Integer addActivetyrecord(Activetyrecord activetyrecord) throws Exception;




}
